from distutils.core import setup
import py2exe, glob

setup(
	windows=[{'script':'main.py'}],
	options={
		'py2exe':{
		'packages':'encodings', 
		'includes':'cairo, pango, pangocairo, atk, gobject', 
		}
	},
	data_files=[
		('glade', glob.glob('glade\\main.glade')),

		('etc/fonts', glob.glob('etc\\fonts\\*')),
		('etc/gtk-2.0', glob.glob('etc\\gtk-2.0\\*')),
		('etc/pango', glob.glob('etc\\pango\\*')),
		
		('share/themes/Default/gtk-2.0-key', glob.glob('share\\themes\\Default\\gtk-2.0-key\\*')),
		('share/themes/MS-Windows/gtk-2.0', glob.glob('share\\themes\\MS-Windows\\gtk-2.0\\*')),
		('share/themes/Metal/gtk-2.0', glob.glob('share\\themes\\Metal\\gtk-2.0\\*')),
		('share/themes/Raleigh/gtk-2.0', glob.glob('share\\themes\\Raleigh\\gtk-2.0\\*')),
		('share/themes/Redmond95/gtk-2.0', glob.glob('share\\themes\\Redmond95\\gtk-2.0\\*')),

		('lib/pango/1.5.0/modules', glob.glob('lib\\pango\\1.5.0\\modules\\*')),
		('lib/gtk-2.0/2.4.0', glob.glob('lib\\gtk-2.0\\2.4.0\\*.*')),
		('lib/gtk-2.0/2.4.0/immodules', glob.glob('lib\\gtk-2.0\\2.4.0\\immodules\\*')),
		('lib/gtk-2.0/2.4.0/loaders', glob.glob('lib\\gtk-2.0\\2.4.0\\loaders\*')),
		('lib/gtk-2.0/2.4.0/engines', glob.glob('lib\\gtk-2.0\\2.4.0\\engines\\*')),
	]
)
